/*
 *  test/test_qs.c
 *
 *  Harry Wei <harryxiyou@gmail.com> (C) 2011
 */
#include "algorithm.h"

int main(int argc, char **argv)
{
	int i = 0;
	int test[10] = {3, 2, 10, 8, 7, 1, 5, 89, 20, 6};

	quick_sort(test, 0, 9);
	for (i = 0; i < 10; i++) {
		g_print("%d ", test[i]);
	}
	g_print("\n");
	return 0;
}
